package com.two.medbooking.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.two.medbooking.entity.Department;
import com.two.medbooking.mapper.DepartmentMapper;
import com.two.medbooking.service.DepartmentService;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DepartmentServiceImpl extends ServiceImpl<DepartmentMapper,Department> implements DepartmentService {
    @Override
    public List<Department> ListAllDepartment() {
        return baseMapper.selectList(null);

    }//bb
}
